<%@ page import="com.oa.right.*"%> 
<%
    String userid   = (String)session.getValue("YGID");
    String username = (String)session.getValue("YGXM");
    String departcode = (String)session.getValue("BMID");
    String loginname = (String)session.getValue("DLZH");

    if  (username == null || username.equals(""))
    {
        %>
        <script language=javascript>
          top.location.href="../index.html";
        </script>
        <%
    }
%>

